﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using RegisterationCommon.Student;
using RegisterationCommon.Common;
using System.Data;

namespace RegisterationSystem.Space_Student
{
    public partial class agreement : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.IsPostBack)
            {
                if (Request.QueryString["pagehref"] != null)
                {
                    ViewState["pagehref"] = Request.QueryString["pagehref"].ToString();
                }
                else
                {
                    Response.Redirect("../index.aspx");
                }
                if (SysSet.IsStopSignUp())
                {
                    Response.Redirect("../index.aspx");
                }
            }
        }
    }
}